package com.tuanzi.loan.business.entity.miniApps.articleLibrary;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

import com.tuanzi.loan.core.entity.AuditEntity;

@Data
@Entity
@Table(name = "LOAN_MINI_APPS_ARTICLE_RELATIONS")
public class MiniAppsArticleRelations extends AuditEntity implements Serializable{

	private static final long serialVersionUID = 54215326113461263L;
	
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	@Column(name = "ARTICLE_ID")
	private Long articleId;
	
	@Column(name = "RELATION_ID")
	private Integer relationId;
	
	@Column(name = "WEIGHT")
	private Integer weight;
	
	@Column(name = "ONLINE_TIME")
	private Date onlineTime;
	
	@Column(name = "OFFLINE_TIME")
	private Date offlineTime;
	
	@Column(name = "STATUS")
	private Integer status;

}













